#ifndef QINPUTHOOKS_X11_T_H
#define QINPUTHOOKS_X11_T_H


#include <QThread>

#include <X11/Xlib.h>
#include <xcb/xcb.h>

class KeyHookerThread : public QThread
{
    Q_OBJECT;
 public:
    virtual void run();
    Display *disp = NULL;
    int main_cap();

 signals:
    void onKeyEvent(int code);
};

#endif

